package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 征信档案对象 disciplinary_record
 * 
 * @author 503
 * @date 2021-05-04
 */
public class DisciplinaryRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 违纪编号 */
    private Long disciplinaryId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long workerId;

    /** 违纪时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "违纪时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disciplinaryTime;

    /** 违纪原因 */
    @Excel(name = "违纪原因")
    private String disciplinaryCause;

    /** 经过 */
    @Excel(name = "经过")
    private String disciplinaryDetails;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String disciplinaryResult;

    public void setDisciplinaryId(Long disciplinaryId) 
    {
        this.disciplinaryId = disciplinaryId;
    }

    public Long getDisciplinaryId() 
    {
        return disciplinaryId;
    }
    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setDisciplinaryTime(Date disciplinaryTime) 
    {
        this.disciplinaryTime = disciplinaryTime;
    }

    public Date getDisciplinaryTime() 
    {
        return disciplinaryTime;
    }
    public void setDisciplinaryCause(String disciplinaryCause) 
    {
        this.disciplinaryCause = disciplinaryCause;
    }

    public String getDisciplinaryCause() 
    {
        return disciplinaryCause;
    }
    public void setDisciplinaryDetails(String disciplinaryDetails) 
    {
        this.disciplinaryDetails = disciplinaryDetails;
    }

    public String getDisciplinaryDetails() 
    {
        return disciplinaryDetails;
    }
    public void setDisciplinaryResult(String disciplinaryResult) 
    {
        this.disciplinaryResult = disciplinaryResult;
    }

    public String getDisciplinaryResult() 
    {
        return disciplinaryResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("disciplinaryId", getDisciplinaryId())
            .append("workerId", getWorkerId())
            .append("disciplinaryTime", getDisciplinaryTime())
            .append("disciplinaryCause", getDisciplinaryCause())
            .append("disciplinaryDetails", getDisciplinaryDetails())
            .append("disciplinaryResult", getDisciplinaryResult())
            .toString();
    }
}
